$INCLUDE: 'C:\FG\FASTGRAF.FI'

      PROGRAM MAIN

      INTEGER*1 MATRIX(4)
      INTEGER OLD_MODE
      INTEGER FG_GETMODE

      CALL FG_INITPM
      OLD_MODE = FG_GETMODE()
      CALL FG_SETMODE(4)

      MATRIX(1) = #DD
      MATRIX(2) = #77
      MATRIX(3) = #DD
      MATRIX(4) = #77
      CALL FG_DRECT(0,49,0,49,MATRIX)
      CALL FG_WAITKEY

      CALL FG_SETMODE(OLD_MODE)
      CALL FG_RESET

      STOP ' '
      END
